package cn.tedu.spring.auto;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author Justin Parker
 * @Date 2024/8/2 0002 15:19
 * @Version 1.0
 */
public class TestUserCache {

    public static void main(String[] args) {

        ApplicationContext context = new AnnotationConfigApplicationContext("cn/tedu/spring/auto");
        UserCache userCache = context.getBean(UserCache.class);

        System.out.println(userCache);

    }
}
